package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xiaodoudou
 * @version V1.0
 * @Project TestSSM
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/7/16 14:57
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class User implements Serializable {
    private Integer id;
    private String username;
    private String password;
    private Boolean gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date regist_time;
}
